<article id="voice_template_edit_frame">
    <style>
        #voice_template_edit_frame table {
            border:none;
            margin-bottom: 20px;
        }
        #voice_template_edit_frame td {
            padding: 8px 3px;
        }
        #voice_template_edit_frame tr td:nth-child(3) {
            padding-left: 50px;
        }
    </style>
    <div class="hint-content">
        <input type="hidden" data-bind="value:id">
        <table>
            <tr>
                <td style="width:110px;text-align:right">模板类型：</td>
                <td><input type="text" data-bind="value:modelType" id="modelTypeSelect" required/></td>
                <td id="modelLable">广告类型：</td>
                <td><input type="text" data-bind="value:unitType" id="unitTypeSelect" required/></td>
            </tr>
            <tr>
                <td style="width:110px;text-align:right">默认信息：</td>
                <td colspan="3"><textarea id="defaultModel" type="text" class="k-textbox" style="width: 100%; height: 65px; resize: vertical" data-bind="value:defaultInfo" disabled="disabled"></textarea></td>
            </tr>
            <tr id="infoTr">
                <td style="width:110px;text-align:right">信息模板：</td>
                <td colspan="3"><input type="text" data-bind="value:infoType" id="infoModel"/><img style="position:relative;top:5px;left:5px" src="images/addmodel.png" data-bind="click:addLabel"></td>
            </tr>
            <tr>
                <td style="width:110px;text-align:right">自定义信息：</td>
                <td colspan="3">
                    <textarea type="text" id="customInfo" class="k-textbox" style="width: 100%; height: 65px;; resize: vertical" data-bind="value:customModel" maxlength="120"></textarea>
                    <a id="reset_message" data-bind="click:reset_message" style="color: #0a7ac2; display: none; margin-left:115px; float:right;">信息复位</a>
                </td>
            </tr>
            <tr>
                <td style="width:110px;text-align:right">相关备注：</td>
                <td colspan="3"><textarea type="text" class="k-textbox" style="width: 100%; height: 65px; resize: vertical" data-bind="value:remark"></textarea></td>
            </tr>
        </table>
        <div class="basicInfo-btn">
            <button class="save" data-bind="click:save_info">保存</button>
            <button class="cancel" data-bind="click:cancel">取消</button>
        </div>
    </div>
</article>
<script>
    var voiceTemplateEdit = new VoiceTemplateEdit($('#voice_template_edit_frame'));
</script>